Exercises: Exercises 6: Loops and Lists
This week has 4 exercise notebooks:
A_ex_lec_loops_practice.ipynb
has more practice with loops and concepts from the Sequences and Loops Lecture.B_ex_lab_for_loops.ipynb
for Lab 6.C_ex_lec_mutability.ipynb
for the Lists and Memory Diagrams Lecture.D_ex_lec_list_patterns.ipynb
introduces you to material that will be covered in more depth in the List Processing Patterns lecture. Your existing knowledge of loops is sufficient to tackle these exercises before you've seen that lecture, and they will be helpful for a few parts of the project this week.
Code
Click on this
ex06_loops_and_lists.zip link
to download the .zip file for this week to your computer. Unzip the
downloaded ex06_loops_and_lists.zip
file (by double-clicking on it) to reveal a
folder with the notebook file(s) for these exercises.
Solutions
Once you have completed all exercises and the deadline has passed, you can find links to the solutions for each individual notebook via the Potluck dashboard.